package SoftwareEngineering01.WordFrequence.readFile;

import java.util.Comparator;
import java.util.Map;

public class CompareWith implements Comparator<Map.Entry<String,Integer>> {
    public int compare(Map.Entry<String,Integer> m,Map.Entry<String,Integer> n){
        return n.getValue()-m.getValue();
    }
}
